#pragma once

#include "CBase.h"
#include <string>
#include "CPlayer.h"
class CEnemy : public CBase
{
private:

	RECT mrEnemy;
	int m_HP[8];
	int m_nComboSize;
	CPlayer* Target;
public:
	CEnemy();
	~CEnemy();

	bool CheckCollision( IBaseInterface* pBase );
	void GenerateCombo(); // max 8
	RECT GetCollisionRect();
	void HandleEvent(CEvent* pEvent);
	//void Update(float _fDT);
	void SetComboSize( int _cSize ) { m_nComboSize = _cSize; }

	int getComboSize() { return m_nComboSize; }
	int getHPCombo(int x) { return m_HP[x]; }
	void Update(float _fDT);
	void SetTarget(CPlayer* __Target) {Target = __Target;}
	void Render();
	


};